package testaux;

public class Function {
    public String name;
    public StringList args;
    public Block body;

    public Function(String name, StringList args, Block body) {
        this.name = name;
        this.args = args;
        this.body = body;
    }

    public String toString() {
        return "\n(F " + name + " " + (args == null ? "" : args.toString()) + " #\n" + body.toString() + ")\n";
    }
}
